package com.ruoyi.baseData.domain.dto;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentFontStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import lombok.Data;

import java.util.Date;

@Data
@ExcelIgnoreUnannotated
@HeadFontStyle(fontName = "Arial",fontHeightInPoints=10)
@ContentFontStyle(fontName = "Arial",fontHeightInPoints=9)
@ColumnWidth(12)
public class MaterialExcelDto {


    /**
     *
     */
    @ExcelProperty(index = 0,value = "编码")
    private String code;

    /**
     *
     */
    @ExcelProperty(index = 1,value = "物料名称")
    private String name;

    /**
     *
     */
    private String remark;

    /**
     *
     */
    private String createBy;

    /**
     *
     */
    private Date createTime;

    /**
     *
     */
    private String updateBy;

    /**
     *
     */
    private Date updateTime;

    /**
     *
     */
    private Boolean delFlag;


    /**
     * 描述
     */
    @ExcelProperty(index = 2,value = "物料描述")
    private String memo;

    @ExcelProperty(index = 3,value = "物料规格")
    private String spec;


    @ExcelProperty(index = 5,value = "物料分类")
    private String materialType;

    /**
     * 单位
     */
    @ExcelProperty(index = 6,value = "单位")
    private String unit;

    /**
     * 物料分类ID new
     */
    private Integer materialTypeId;


    /**
     * 熟化时间 new
     */
//    @ExcelProperty(index = 7,value = "熟化时长")
    private Integer maturingTime;

    /**
     * 测试时间 new
     */
//    @ExcelProperty(index = 8,value = "测试时长")
    private Integer testTime;
}
